<?php defined('SYSPATH') or die('No direct script access.');

/**
 * @file bankcard.php
 * @brief 
 * @author Lionel Tsai
 * @version 1.0
 * @date 2012-07-13
 */


class Model_Bankcard extends ORM {
	protected $_table_name = 'bankcard';
	protected $_primary_key = 'card_id';
	/*protected $_belongs_to = array(
		'bank' => array('model'=>'bank', 'foreign_key' => 'bank_id'),
		'province' => array('model'=>'type', 'foreign_key' => 'province_id'),
		'city' => array('model'=>'type', 'foreign_key' => 'city_id'),
		'pri_project' => array('model'=>'type', 'foreign_key' => 'priproj_id'),
		'pri_type' => array('model'=>'type', 'foreign_key' => 'type_id'),
	   );*/
	protected $_has_many = array(
	);

}
